home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
dvglue10.arc
/
-PORTING
< prev
next >
Wrap
Text File
|
1988-08-13
|
1KB
|
41 lines
DV-GLUE v1.00
Porting Considerations
----------------------
A large number of functions in this package use either inline assembly or
register pseudovariables (i.e. _AX, _BX, etc). These functions will pose the
greatest difficulties during porting.
Files using inline assembly code:
TVINT15.C
TVINT15I.C
TVINT15W.C
TVINT15N.C
TVTNEW.C
TVJNEW.C
The above need to be rewritten to conform to the target compiler's inline
assembly, or converted entirely to assembly code.
Files using register pseudovariables:
DVINIT.C
DVMEM.C
many others
The above need to be rewritten to use the int86() or int86x() functions, as
appropriate.
Files using pseudovariables which have been #ifdef'd to allow use of int86():
DVAPI.C
DVSHADOW.C
DVVER.C
These should not need rewriting.
Except for TVWPRNTF.C (which uses an undocumented TurboC library function),
all other files should compile as-is.
If your compiler supports the "pascal" keyword, uncomment the
#define PASCAL
line in TVAPI.H.
If your compiler does not support "cdecl", add
#define cdecl
to TVAPI.H